package com.ltt.dao.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author ‘李天泰’
 * @version 1.0
 * @description: TODO
 * @date 2023/5/1 9:50
 */
@Data
@ApiModel("用户实体类")
public class User {
    @ApiModelProperty("用户唯一标识")
    private String openid;

    @ApiModelProperty("用户头像")
    private String userPic;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户的关注数")
    private int attention;

    @ApiModelProperty("用户的粉丝数")
    private int fans;

    @ApiModelProperty("用户的积分数")
    private int integral;

    @ApiModelProperty("版本号")
    private int version;

    @TableField("create_time")
    private Timestamp createTime;
    @TableField("update_time")
    private Timestamp updateTime;
}
